package com.kara.woodAgent.config;

import cn.dev33.satoken.stp.StpInterface;
import cn.dev33.satoken.stp.StpUtil;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author tzy
 * @version 1.0
 * @project wood_agent
 * @description
 * @date 2025/6/6 15:30:36
 */
@Component
public class StpInterfaceImpl implements StpInterface {
	@Override
	public List<String> getPermissionList(Object loginId, String loginType) {
		return List.of();
	}

	@Override
	public List<String> getRoleList(Object loginId, String loginType) {
		return List.of("user");
	}
}

